Skip to content

make sure that -just-plugin always stops after the plugin-build phase#130

Merged
gasche merged 1 commit intoocaml:masterfrom
gasche:just-plugin-no-plugin
Dec 19, 2016
Merged

make sure that -just-plugin always stops after the plugin-build phase#130
gasche merged 1 commit intoocaml:masterfrom
gasche:just-plugin-no-plugin

Conversation

@gasche
Copy link
Copy Markdown
Member

@gasche gasche commented Nov 30, 2016

Previously -just-plugin would only be checked at the end of plugin
build, and plugin build would only run if there is a plugin. This
means that -just-plugin would be ignored if there was no
myocamlbuild.ml: the command ocamlbuild -just-plugin foo.byte
would build the target or not depending on whether a plugin source
was present.

This issue was reported by @whitequark in dbuenzli/topkg#87.

@gasche gasche force-pushed the just-plugin-no-plugin branch from 242149f to bb34c86 Compare November 30, 2016 14:44
@gasche
Copy link
Copy Markdown
Member Author

gasche commented Dec 2, 2016

See also #129 for a discussion of the -no-plugin and -plugin-option semantics.

@whitequark
Copy link
Copy Markdown
Member

@gasche ping?

@gasche
Copy link
Copy Markdown
Member Author

gasche commented Dec 19, 2016

Well... I guess I can merge -- after fixing the conflicts.

@gasche gasche force-pushed the just-plugin-no-plugin branch from bb34c86 to e65ca06 Compare December 19, 2016 20:37
@gasche gasche merged commit 1354a47 into ocaml:master Dec 19, 2016
Previously -just-plugin would only be checked at the end of plugin
build, and plugin build would only run if there is a plugin. This
means that -just-plugin would be ignored if there was no
myocamlbuild.ml: (ocamlbuild -just-plugin foo.byte) would build the
target or not depending on whether a plugin source was present.
@whitequark
Copy link
Copy Markdown
Member

Thanks a lot! When do you think I can expect a release of ocamlbuild?

@gasche
Copy link
Copy Markdown
Member Author

gasche commented Dec 19, 2016

Well, whenever. Maybe in the next few days. Thanks for asking.

@gasche
Copy link
Copy Markdown
Member Author

gasche commented Dec 25, 2016

(I'm preparing the release right now.)

@gasche
Copy link
Copy Markdown
Member Author

gasche commented Dec 26, 2016

@whitequark
Copy link
Copy Markdown
Member

Many thanks!

@whitequark
Copy link
Copy Markdown
Member

@gasche I don't know how but this seems broken in master...

@whitequark
Copy link
Copy Markdown
Member

@gasche Oh, I see now. We misunderstood each other. In essence what I want is for ocamlbuild to not pass -toolchain when building a plugin, ever. If this is really desirable (which it never will be), -plugin-option is there.

@whitequark
Copy link
Copy Markdown
Member

So, #160.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants